package com.block.db.mapper;

import com.block.db.entity.FormInfoPushRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * <p>
 * api手动推送记录 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2023-02-27
 */
public interface FormInfoPushRecordMapper extends BaseMapper<FormInfoPushRecord> {

    FormInfoPushRecord getEntityByIdLock(String recordId);

    boolean updateExecResultByRecordId(@Param("recordId") Integer recordId,
                                       @Param("execResult") boolean execResult,
                                       @Param("updateTime") LocalDateTime updateTime);

}
